﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucListStatus.ascx.cs"
    Inherits="UserControl_ucListStatus" %>
<table>
    <tr>
        <td>
            <asp:Panel ID="panel" runat="server" Height="400px" ScrollBars="Auto" Style="overflow: hidden;">
                <asp:GridView ID="grdJobStatus" runat="server" Width="100%" AutoGenerateColumns="False"
                    CssClass="grd">
                    <Columns>
                        <asp:TemplateField HeaderText="Status Date">
                            <ItemTemplate>
                                <%# (Convert.ToDateTime(Eval("StatusDate")).ToString("dd/MM/yyyy")) %>
                            </ItemTemplate>
                            <ItemStyle HorizontalAlign="Left" Wrap="True" Width="100px"></ItemStyle>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Status">
                            <ItemTemplate>
                                <%# Eval("StatusJobs")%>
                            </ItemTemplate>
                            <ItemStyle Width="300px" VerticalAlign="Middle" HorizontalAlign="Center"></ItemStyle>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Note" >
                            <ItemTemplate>
                                <%# Eval("Notes") %>
                            </ItemTemplate>
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle CssClass="grdHeader" />
                    <EditRowStyle BackColor="#2461BF" />
                    <AlternatingRowStyle CssClass="grdAlternateRow" />
                    <PagerSettings PageButtonCount="6" />
                    <RowStyle CssClass="grdRow" />
                </asp:GridView>
            </asp:Panel>
        </td>
    </tr>
</table>
